Keir Fraser [Fri, 25 Jan 2008 13:42:36 +0000 (13:42 +0000)]
x86: Clarify early_page_fault() handler intent, and improve debug tracing.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Fri, 25 Jan 2008 13:29:51 +0000 (13:29 +0000)]
Fix leaking of /vm/<uuid> path in xenstore on various VM lifecycle events.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Keir Fraser [Fri, 25 Jan 2008 13:29:31 +0000 (13:29 +0000)]
Remove outdated comments concerning Xen API in xend configuration file.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Keir Fraser [Fri, 25 Jan 2008 13:29:07 +0000 (13:29 +0000)]
Fix 'on_*=rename-restart' domain configuration option.
When setting e.g. 'on_crash=rename-restart' option in domain config
and crashing guest OS running in the domain, the new domain is
restarted with same name as renamed domain.
jfehlig4: # xm li
Name ID Mem VCPUs State Time(s)
Domain-0 0 1233 4 r----- 937.9
Domain-
e64b12a0-0493-44d7-afde-
55c776513426 21 384 1 ---c- 14.3
Domain-
e64b12a0-0493-44d7-afde-
55c776513426 22 384 1 r----- 7.3
This patch copies the domain info prior to setting new name and uuid
in the crashed domain info and uses the copied domain info to
construct the restarted domain.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Keir Fraser [Fri, 25 Jan 2008 13:28:25 +0000 (13:28 +0000)]
(Re)introduce notion of crashed VM power state.
The crashed power state is necessary to allow both core-dumping a
crashed but preserved VM and renaming/restarting a crashed VM.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Keir Fraser [Fri, 25 Jan 2008 13:26:38 +0000 (13:26 +0000)]
x86: Fix host S3.
Time zone info just needs to be calculated in S3 suspend procedure.
However, time_suspend() is also called on AP. That wasteful
get_cmos_time() on AP may break __cpu_die() assumption since
get_cmos_time() can take up to one second. This fix just limits it to
running on the BSP.
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
Keir Fraser [Fri, 25 Jan 2008 13:23:39 +0000 (13:23 +0000)]
[PV-on-HVM] Process event channels notifications in round-robin order
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Keir Fraser [Fri, 25 Jan 2008 13:22:52 +0000 (13:22 +0000)]
Fix losetup -r flag when we specify 'w!' for the disk mode.
From: Zhigang Wang <zhigang.x.wang@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Thu, 24 Jan 2008 18:11:44 +0000 (18:11 +0000)]
x86: make show_page_walk() more robust.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Thu, 24 Jan 2008 18:09:26 +0000 (18:09 +0000)]
x86, hvm: Only invalidate qemu mapcache on XENMEM_decrease_reservation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Thu, 24 Jan 2008 14:41:26 +0000 (14:41 +0000)]
block scripts: use fatal() in xen-hotplug-common.sh if the file does not exist.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Keir Fraser [Thu, 24 Jan 2008 14:40:35 +0000 (14:40 +0000)]
x86, hvm: MTRR can't cover all the memery ranges
MTRR can't cover all the memery ranges, due to guest E820 is changed
by CS:16728 with current method.
Signed-off-by: Disheng Su <disheng.su@intel.com>
Keir Fraser [Thu, 24 Jan 2008 14:39:38 +0000 (14:39 +0000)]
vt-d: Do FLR of assigned devices with VT-d
Currently there is a pdev_flr() function to do FLR before device
assignment in qemu, but most of devices don't have FLR capability.
What's more, should do FLR before assignment and deassignment for
keeping correct device status. If the device doesn't have FLR
capablility, this patch implemented to enter D3hot and return to D0 to
do FLR. And exposed pdev_flr() in VT-d utils, then it can be invoked
by assignment and deassignment functions.
Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Keir Fraser [Thu, 24 Jan 2008 14:38:01 +0000 (14:38 +0000)]
Update hgignore list.
Keir Fraser [Thu, 24 Jan 2008 14:37:53 +0000 (14:37 +0000)]
network-nat: Fix NAT scripts.
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Keir Fraser [Thu, 24 Jan 2008 14:35:52 +0000 (14:35 +0000)]
Fix libfsimage build on Solaris
The Solaris installation dirs were missing $(PREFIX)
Signed-off-by: John Levon <john.levon@sun.com>
Keir Fraser [Thu, 24 Jan 2008 14:35:40 +0000 (14:35 +0000)]
ioemu: 'lib64' is Linux-specific
Only use libdir == 'lib64' on Linux.
Signed-off-by: John Levon <john.levon@sun.com>
Keir Fraser [Thu, 24 Jan 2008 14:33:46 +0000 (14:33 +0000)]
ioemu: Improve xenstore_read_vncpasswd().
From: Peter Johnston <peter.johnston@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Thu, 24 Jan 2008 14:29:13 +0000 (14:29 +0000)]
vmx realmode: Restructure code for clarity and better treatment of
VM_ENTRY_INTR_INFO. Also add more sanity checking.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Wed, 23 Jan 2008 18:12:37 +0000 (18:12 +0000)]
ioemu: handle empty vnc passwd
Have xenstore_read_vncpasswd return -1 when it is unable to read the
passwd from XenStore (and store an empty password). However, don't
exit in such case since it may just mean that the use didn't set a
passwd. If he really did, xend would have given the passwd flag in the
-vnc option, and the empty passwd would make the vnc authentication
reject any password anyway.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Acked-by: Daniel P. Berrange <berrange@redhat.com>
Keir Fraser [Wed, 23 Jan 2008 18:05:27 +0000 (18:05 +0000)]
minios: permit blkfront to write from mapped memory
Missing call to virtual_to_mfn
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 18:05:12 +0000 (18:05 +0000)]
ioemu: Use asprintf instead of PATH_MAX, which POSIX says to be facultative.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 18:03:52 +0000 (18:03 +0000)]
ioemu: fix xc_handle declaration
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 18:03:25 +0000 (18:03 +0000)]
ioemu: fix phys_ram_addr parameter usage
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 18:02:48 +0000 (18:02 +0000)]
ioemu: cache the BlockDriverState pointer
This actually fixes a bug in the scsi case.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 15:42:52 +0000 (15:42 +0000)]
pv-on-hvm: Fix up linux code after hypercall-type-checking changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Wed, 23 Jan 2008 14:30:56 +0000 (14:30 +0000)]
vmx realmode: Implement new x86_emulate hook load_fpu_ctxt().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Wed, 23 Jan 2008 14:30:29 +0000 (14:30 +0000)]
x86_emulate: Emulate FNINIT, FNSTCW, FNSTSW x87 instructions.
Provide new hook ->load_fpu_ctxt() to ensure emulated environment's
FPU state is loaded onto the local processor.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Wed, 23 Jan 2008 13:59:24 +0000 (13:59 +0000)]
x86_emulate: Fix CLTS emulation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Wed, 23 Jan 2008 13:27:21 +0000 (13:27 +0000)]
ChangeLog: Document new set_target xenstore and domctl commands.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Wed, 23 Jan 2008 13:22:13 +0000 (13:22 +0000)]
New XS_SET_TARGET
Stubdomains (and probably other domain disagregation elements too)
need to be able to tinker with another domain. This adds
XS_SET_TARGET so that XenStore allows domains to have permissions on
files on which the "target" has permissions. This also adds
xs_set_target, called by the domain builder when the 'target' option
is used in the configuration.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 13:21:44 +0000 (13:21 +0000)]
New XEN_DOMCTL_set_target
Stubdomains (and probably other domain disagregation elements too)
need to be able to tinker with another domain. This adds IS_PRIV_FOR
that extends IS_PRIV by allowing domains to have privileges over a
given "target" domain. XEN_DOMCTL_set_target permits to set this
"target". A new 'target' configuration option makes the domain builder
use it.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 11:21:35 +0000 (11:21 +0000)]
tools/check: Add explicit include path for funcs.sh.
When the current directory is not in $PATH,
then the patch fixes the following errors:
Checking check_brctl: .: funcs.sh: not found
Checking check_crypto_lib: .: funcs.sh: not found
Checking check_curl: .: funcs.sh: not found
Checking check_iproute: .: funcs.sh: not found
Checking check_python: .: funcs.sh: not found
Checking check_python_xml: .: funcs.sh: not found
Checking check_udev: .: funcs.sh: not found
Checking check_xml2: .: funcs.sh: not found
Checking check_zlib_lib: .: funcs.sh: not found
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Keir Fraser [Wed, 23 Jan 2008 11:20:01 +0000 (11:20 +0000)]
minios: make allocation of page tables for ondemand mapping lazy
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Wed, 23 Jan 2008 11:15:57 +0000 (11:15 +0000)]
Remove auto-generated files in extboot/ directory.
Keir Fraser [Tue, 22 Jan 2008 19:26:52 +0000 (19:26 +0000)]
Merge with ia64 tree
Keir Fraser [Tue, 22 Jan 2008 17:20:39 +0000 (17:20 +0000)]
vmx: Disable vmxassist in the default build.
We now use x86 real-mode emulation by default.
Select old behaviour (for now) by specifying vmxassist=y at build time.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Tue, 22 Jan 2008 17:18:51 +0000 (17:18 +0000)]
vmx realmode: Faster emulation of REP INS and REP OUTS.
This makes, in particular, reading files via the BIOS disk abstraction
much much much faster.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Tue, 22 Jan 2008 17:18:02 +0000 (17:18 +0000)]
x86_emulate: Provide callbacks for faster emulation of:
REP MOVS, REP INS, REP OUTS.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Alex Williamson [Tue, 22 Jan 2008 16:04:41 +0000 (09:04 -0700)]
[IA64][IOEMU] Add back ia64
cset 16789:
51a7e508bd01 dropped ia64 from the configure script, add it back
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Tue, 22 Jan 2008 15:30:40 +0000 (08:30 -0700)]
merge with xen-unstable.hg (staging)
Alex Williamson [Tue, 22 Jan 2008 15:27:29 +0000 (08:27 -0700)]
[IA64] Fix a perf counter typo
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Alex Williamson [Tue, 22 Jan 2008 15:26:20 +0000 (08:26 -0700)]
[IA64] Introduce dom0_vhpt_size_log2 boot option to change dom0 vhpt size
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Tue, 22 Jan 2008 14:35:17 +0000 (14:35 +0000)]
Add MANDIR, MAN1DIR and MAN8DIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:35:02 +0000 (14:35 +0000)]
Add SBINDIR. Use it always.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:34:37 +0000 (14:34 +0000)]
ioemu: Use XEN_TARGET_ARCH instead of uname -m.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:31:10 +0000 (14:31 +0000)]
Add BINDIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:30:21 +0000 (14:30 +0000)]
Add INCLUDEDIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:29:11 +0000 (14:29 +0000)]
Apply PREFIX directly to LIBDIR.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:27:22 +0000 (14:27 +0000)]
Add PREFIX definition as base for all installed files.
Signed-off-by: Bastian Blank <waldi@debian.org>
Keir Fraser [Tue, 22 Jan 2008 14:20:37 +0000 (14:20 +0000)]
minios: permit blkfront to write from mapped memory
by adding a virtual_to_mfn macro
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 14:20:22 +0000 (14:20 +0000)]
minios: POSIX fixes
Fixes some functions which are POSIX. Also make them ifndef HAVE_LIBC.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 11:35:26 +0000 (11:35 +0000)]
minios: fix case when _text is not 0
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 11:19:40 +0000 (11:19 +0000)]
minios: Fix x86_32 compilation
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 11:18:10 +0000 (11:18 +0000)]
hvmloader: Expand iomem allocation pool to 0xf0000000-0xfc000000.
Check for exhaustion of allocation pool, warn user, and fail to
initialise the relevant PCI BAR.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Tue, 22 Jan 2008 10:54:00 +0000 (10:54 +0000)]
hvmloader: Assign PCI resources in descending order of size for better packing.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Tue, 22 Jan 2008 10:18:58 +0000 (10:18 +0000)]
XEN_GUEST_HANDLE_00030205() compat macro is broken. Remove it and
open-code an alternative at its two invocation sites.
Based on a patch by Jan Beulich.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Tue, 22 Jan 2008 09:51:49 +0000 (09:51 +0000)]
xend: On block-attach, remove device information when VmError occurs.
I tested xm block-attach command with a wrong
parameter(file:). Naturally a command error occurred. Then I retested
xm block-attach command with a correct parameter(phy:). But a command
error occurred again. The second command error occurred because Xend
did not remove device information from self.info when the first
command error occurred.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Keir Fraser [Tue, 22 Jan 2008 09:50:06 +0000 (09:50 +0000)]
hvm, ioemu: Fix the ide/cdrom emulation error on FC7 guest.
The new libata-eh in the Linux kernel is throwing a fit over the QEMU
cdrom device for two reasons:
1) DRQ can be set with ERR_STAT set. This is a violation of the ATAPI
state machine.
2) After a TEST_UNIT_READY ATAPI command is sent ERR_STAT is getting
set
which is correct. But, when the OS issues another ATAPI command
ERR_STAT is still set. Which is bad since the next expected command
from the OS is REQUEST_SENSE to find out why ERR_STAT is set.
bug this fixes: https://bugzilla.novell.com/show_bug.cgi?id=
3D291775
Signed-off-by: Brandon Philips <bphilips@suse.de>
Porting this qemu fix to xen.
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
Keir Fraser [Tue, 22 Jan 2008 09:48:51 +0000 (09:48 +0000)]
vtd: Enable queued invalidation method if such HW support is
detected. Otherwise, register invalidation method is used.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Keir Fraser [Tue, 22 Jan 2008 09:46:33 +0000 (09:46 +0000)]
minios: add blkfront testing
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 09:46:15 +0000 (09:46 +0000)]
minios, blkfront: set default block path.
remove unnecessary path head stripping.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 09:45:54 +0000 (09:45 +0000)]
minios: Add align support to _xmalloc().
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Tue, 22 Jan 2008 09:44:17 +0000 (09:44 +0000)]
Make tools/check scripts cross-friendly
This patch introduces tools/check/funcs.sh with some
cross-friendly abstractions, then modifies the check_*
scripts to use them.
Signed-off-by: Aron Griffis <aron@hp.com>
Keir Fraser [Tue, 22 Jan 2008 09:43:53 +0000 (09:43 +0000)]
Make tools/Makefile cross-friendly
Pass Xen cross-compilation options through to ioemu.
Export CROSS_SYS_ROOT for use by scripts. Unexport
IOEMU_DIR since it isn't used outside of the Makefile.
Signed-off-by: Aron Griffis <aron@hp.com>
Keir Fraser [Mon, 21 Jan 2008 14:39:33 +0000 (14:39 +0000)]
hvm: Allow PCI high-memory resource to be decided by hvmloader at
HVM-guest boot time. Also make a few PCI0 resource ResourceProducer
type -- this seems to be specified by some randomly-sampled real ACPI
systems.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Mon, 21 Jan 2008 13:09:23 +0000 (13:09 +0000)]
x86: Sync cpu/intel_cacheinfo.c with Linux kernel
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Keir Fraser [Mon, 21 Jan 2008 13:08:44 +0000 (13:08 +0000)]
x86, xenoprof: Support Intel Penryn processors.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>=20
Keir Fraser [Mon, 21 Jan 2008 11:20:52 +0000 (11:20 +0000)]
minios: add lwIP 1.3.0 support
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Mon, 21 Jan 2008 11:20:27 +0000 (11:20 +0000)]
minios: make time interface POSIX
timespec uses tv_sec and tv_nsec too. gettimeofday takes a tz
argument.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 22:27:51 +0000 (22:27 +0000)]
xend: Handle unspecified timer_mode domain platform parameter.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Alex Williamson [Fri, 18 Jan 2008 21:11:20 +0000 (14:11 -0700)]
[IA64] Fix thash long format crash
Do not overwrite r25 (and restore r24) for C fallback of vmx_asm_thash.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
Alex Williamson [Fri, 18 Jan 2008 21:09:04 +0000 (14:09 -0700)]
[IA64] Fix emacs file mode in vmx_entry.S and vmx_vsa.S
Not C, but ASM. vmx_entry.S is cleary derived from linux entry.S
so that using 8tab makes sense.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Fri, 18 Jan 2008 20:55:26 +0000 (13:55 -0700)]
[IA64] Use rcu where possible.
This is for consistency.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Fri, 18 Jan 2008 20:49:48 +0000 (13:49 -0700)]
merge with xen-unstable.hg staging
Keir Fraser [Fri, 18 Jan 2008 16:20:47 +0000 (16:20 +0000)]
minios: do not exit if FS backend not found.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 16:20:13 +0000 (16:20 +0000)]
minios: support COW for a zero page
Permits to support sparse data.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 16:09:05 +0000 (16:09 +0000)]
do_set_trap_table()'s argument can be const.
Also, automatically generate const version of every guest handle
definition.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Fri, 18 Jan 2008 15:46:58 +0000 (15:46 +0000)]
do_callback_op()'s second argument can be const allowing the guest to
declare these (mostly static) argument structures 'const'.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Fri, 18 Jan 2008 15:38:52 +0000 (15:38 +0000)]
Move primitive-type guest-handle definitions into common xen.h header file.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Fri, 18 Jan 2008 15:28:59 +0000 (15:28 +0000)]
pv-on-hvm: fix/adjust pv driver's mkbuildtree
Allow invoking the script from other than the current directory (the
script now infers the tree is where the script lives). Print which
trees are actually being used.
Fix the linking of sources from Linux tree's drivers/xen/ - this was
needlessly invoking lndir on various sub-directories, in some cases
even twice.
Adjust the script to be able to deal with Linux 2.6.24's unified x86
include directory.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Fri, 18 Jan 2008 15:27:02 +0000 (15:27 +0000)]
xenctx/x86: fix format for readability and add information
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Fri, 18 Jan 2008 15:22:42 +0000 (15:22 +0000)]
minios: extend map_frames into being able to map a series of
contiguous frames, or the same frame several times, aligned, from
another domain, with specific protection, and with potential
failures.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 15:22:17 +0000 (15:22 +0000)]
minios: set text and rodata read-only, free unused pages 0 and 1
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 13:43:26 +0000 (13:43 +0000)]
Clarify 'xm mem-set' and 'xm vcpu-set' requirements in documentation.
From: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Fri, 18 Jan 2008 13:41:33 +0000 (13:41 +0000)]
vt-d: Clean up and bug fixes to ioapic handling.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Keir Fraser [Fri, 18 Jan 2008 13:40:22 +0000 (13:40 +0000)]
Revert network-nat script changes introduced by 16739:
33dcf04d77152.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Keir Fraser [Fri, 18 Jan 2008 13:35:26 +0000 (13:35 +0000)]
ioemu: replace non-standard ulong with unsigned long
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 13:35:05 +0000 (13:35 +0000)]
qemu-dm: Nicely terminate the device model script, to let it properly
clean resources.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Keir Fraser [Fri, 18 Jan 2008 13:33:37 +0000 (13:33 +0000)]
Add FS backend/frontend drivers (frontend in minios only).
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Alex Williamson [Thu, 17 Jan 2008 19:17:14 +0000 (12:17 -0700)]
[IA64] Make maximum number of supported physical CPUs a compile-time option
Make maximum number of supported physical CPUs a compile-time
option via the 'max_phys_cpus=<nr>' compilation parameter.
Based on xen-unstable.hg cset 9464:
d7cbcf5d7cd6
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
Alex Williamson [Thu, 17 Jan 2008 19:12:08 +0000 (12:12 -0700)]
[IA64] Support continuation for hypercall in hvm.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
Alex Williamson [Thu, 17 Jan 2008 19:11:01 +0000 (12:11 -0700)]
[IA64] xenoprof/ia64 howto
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 17 Jan 2008 19:05:44 +0000 (12:05 -0700)]
[IA64] Cleanup duplicate kdump_find_rsvd_region()
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Alex Williamson [Thu, 17 Jan 2008 19:05:44 +0000 (12:05 -0700)]
[IA64] Fix start_kernel() to call init_xenheap_pages() with correct range.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 17 Jan 2008 19:05:43 +0000 (12:05 -0700)]
[IA64] Improve boot loader data moving logic in start_kernel()
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 17 Jan 2008 19:05:43 +0000 (12:05 -0700)]
[IA64] domheap: Clean up of context switch code
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 17 Jan 2008 19:05:43 +0000 (12:05 -0700)]
[IA64] domheap: Introduce xenheap_megabytes boot option
Now xenheap size isn't limited by DTR mapping. So we can set it larger size.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 17 Jan 2008 19:05:43 +0000 (12:05 -0700)]
[IA64] domheap: Allocate mca related objects from domheap instead of xenheap
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 17 Jan 2008 19:05:43 +0000 (12:05 -0700)]
[IA64] domheap: Allocate percpu area from domheap
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>